include('js/ajaxRequest.js');
function login(form) {
    var username = form.username.value;
    var pw = form.pw.value;
    var str = "username="+username+"&pw="+pw;
    postRequest("api/auth/login.php",str);
}